/* 
 *  Copyright (c) 2011—2013 Panguso.com. All rights reserved. 
 *  File Name:  DbBusinessPattern.java                                      
 *  File Contents Outline : 业务模板组数据对象
 *  File  Create Date:   2012年7月30日
 *  File Version#: Revision#: #1                  
 *  File  Latest Modify Date : 2013年1月16日
 *  File Author :  bachuan@panguso.com
 */
package storage.dbobject;

import java.util.ArrayList;
import java.util.UUID;

public class DbBusinessPattern {

    public static final String cl_key = "KEY";
    private String rowKey;
    public static final String cl_name = "name";
    private String name;
    public static final String cl_product = "product";
    private String product;
    public static final String cl_mainCaseID = "mainCaseID";
    private String mainCaseID;
    public static final String cl_timeStamp = "timeStamp";
    private String timeStamp;
    public static final String cl_updateTime = "updateTime";
    private String updateTime;
    public static final String cl_caseID = "caseID";
    private ArrayList<String> caseIDList;
    public static final String cl_activity = "activity";
    private ArrayList<String> activityList;
     public static final String cl_attribute = "attribute";
    private ArrayList<String> attributeList;
    public static final String cl_classifyTag ="classifytag";
    private String classifytag;

    public DbBusinessPattern(String rowKey, String name, String product, String mainCaseID, String timeStamp, String updateTime, ArrayList<String> caseIDList, ArrayList<String> activityList,ArrayList<String> attributeList,String classifytag) {
        this.rowKey = rowKey;
        this.name = name;
        this.product = product;
        this.mainCaseID = mainCaseID;
        this.timeStamp = timeStamp;
        this.updateTime = updateTime;
        this.caseIDList = caseIDList;
        this.activityList = activityList;
        this.attributeList=attributeList;
        this.classifytag=classifytag;
    }

    public DbBusinessPattern(String name, String product, String mainCaseID, String timeStamp, String updateTime, ArrayList<String> caseIDList, ArrayList<String> activityList,ArrayList<String> attributeList,String classifytag) {
        this.rowKey = UUID.randomUUID().toString();
        this.name = name;
        this.product = product;
        this.mainCaseID = mainCaseID;
        this.timeStamp = timeStamp;
        this.updateTime = updateTime;
        this.caseIDList = caseIDList;
        this.activityList = activityList;
        this.attributeList=attributeList;
         this.classifytag=classifytag;
    }

    /**
     * @return the rowKey
     */
    public String getRowKey() {
        return rowKey;
    }

    /**
     * @param rowKey the rowKey to set
     */
    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the product
     */
    public String getProduct() {
        return product;
    }

    /**
     * @param product the product to set
     */
    public void setProduct(String product) {
        this.product = product;
    }

    /**
     * @return the mainCaseID
     */
    public String getMainCaseID() {
        return mainCaseID;
    }

    /**
     * @param mainCaseID the mainCaseID to set
     */
    public void setMainCaseID(String mainCaseID) {
        this.mainCaseID = mainCaseID;
    }

    /**
     * @return the timeStamp
     */
    public String getTimeStamp() {
        return timeStamp;
    }

    /**
     * @param timeStamp the timeStamp to set
     */
    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    /**
     * @return the updateTime
     */
    public String getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime the updateTime to set
     */
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * @return the caseIDList
     */
    public ArrayList<String> getCaseIDList() {
        return caseIDList;
    }

    /**
     * @param caseIDList the caseIDList to set
     */
    public void setCaseIDList(ArrayList<String> caseIDList) {
        this.caseIDList = caseIDList;
    }

    /**
     * @return the activityList
     */
    public ArrayList<String> getActivityList() {
        return activityList;
    }

    /**
     * @param activityList the activityList to set
     */
    public void setActivityList(ArrayList<String> activityList) {
        this.activityList = activityList;
    }

    /**
     * @return the attributeList
     */
    public ArrayList<String> getAttributeList() {
        return attributeList;
    }

    /**
     * @param attributeList the attributeList to set
     */
    public void setAttributeList(ArrayList<String> attributeList) {
        this.attributeList = attributeList;
    }

    /**
     * @return the classfitytag
     */
    public String getClassifytag() {
        return classifytag;
    }

    /**
     * @param classfitytag the classfitytag to set
     */
    public void setClassifytag(String classifytag) {
        this.classifytag = classifytag;
    }

   
}
